import type { TimeInfo } from '@/views/time/record/components/record-table/assets/type';
import { request } from '../request';

const preUrl = '/time';

export function insertData(data: TimeInfo[], today: string) {
  return request.post(`${preUrl}/insert_record`, { timeTableData: data, today });
}
